package org.ace.biz.user;

import java.util.Collection;

import org.ace.dao.model.PlayerItem;

public interface IPlayerItemBiz {
	/*获得道具*/
	public boolean add(Integer userId,Integer gdCode ,Integer count);
	/*丢弃道具*/
	public boolean delete(Integer userId ,Integer gdCode,Integer count);
	/*使用道具*/
	public boolean spend(Integer userId ,Integer gdCode ,Integer count);
	/*获取道具列表*/
	public Collection<PlayerItem> getList(Integer userId);
}